<!-- 联系方式部分 -->
<template>
  <PartLayout :parts="parts" />
</template>

<script setup lang="ts">
import PartLayout from "@/views/Materials/components/PartLayout.vue";

const parts = [
  {
    name: "手机号",
    path: "/materials/contact-way-group/contact-way-phone",
  },
  {
    name: "微信",
    path: "/materials/contact-way-group/contact-way-wechat",
  },
  {
    name: "QQ",
    path: "/materials/contact-way-group/contact-way-qq",
  },
  {
    name: "邮箱",
    path: "/materials/contact-way-group/contact-way-email",
  },
  {
    name: "地址",
    path: "/materials/contact-way-group/contact-way-address",
  },
];

defineOptions({
  meta: {
    title: "联系方式",
    __isRouteComponent: true,
    __rmFileSuffix: "Part",
    __addRouteSuffix: "Group",
    __redirect: "/materials/contact-way-group/contact-way-phone",
    __children: [
      {
        path: "contact-way-phone",
        name: "contact-way-phone",
        component: () =>
          import(
            "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
          ),
      },
      {
        path: "contact-way-wechat",
        name: "contact-way-wechat",
        component: () =>
          import(
            "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
          ),
      },
      {
        path: "contact-way-qq",
        name: "contact-way-qq",
        component: () =>
          import(
            "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
          ),
      },
      {
        path: "contact-way-email",
        name: "contact-way-email",
        component: () =>
          import(
            "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
          ),
      },
      {
        path: "contact-way-address",
        name: "contact-way-address",
        component: () =>
          import(
            "@/components/SurveyComs/MaterialItems/TextInputComs/TextInput.vue"
          ),
      },
    ],
  },
});
</script>

<style scoped></style>
